package com.example.dao;

import com.example.pojo.Student;
import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.annotations.Results;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Repository
public interface StudentMapper {
    @Select("select * from student where id=#{id}")
    @Results({@Result(property = "heightT",column = "height_t")})
    Student selectById(Integer id);
}
